package com.berwin.caper.view.components;

import com.berwin.caper.entity.Tag;

import javax.swing.*;
import java.util.List;

public interface IFileTreeAdapter {

    /**
     * 得到标签
     *
     * @return
     */
    List<Tag> getTags();

    ItemTagView getItemTagView(JPanel parent, int idx, Tag data);

    /**
     * 默认的路径
     *
     * @return
     */
    String getDefaultPath();
}
